from PyQt6.QtCore import QUrl
from PyQt6.QtWebEngineWidgets import QWebEngineView


class WebWindow(QWebEngineView):

    def __init__(self, url):
        super().__init__()

        self.url = QUrl(url)
        self.setUrl(self.url)
